package com.atguigu.javaee.IOC;
//车,车依赖于车身
public class Car {
    public FramWork framWork;
    public int size;
    public Car(int size){
        framWork=new FramWork(size);
        this.size=size;
    }
    public void init(){
        System.out.println("车系统开始启动了");
        framWork.init();
    }
}
